<template>
    <div class="labelbox">
        <div class="title">{{ list.title }}</div>
        <div class="orgname">
            <img :src="list.avatarUrl?list.avatarUrl:'https://test.nttcc.com.cn/_nuxt/img/default_avatar.442622a.png'" class="img" />
            <div>
                {{ list.orgName }}
            </div>
        </div>
        <div class="typename">{{ list.serviceTypeName }}</div>
        <div class="totaldeal">{{ list.totalDeal }}</div>
        <div class="avgscore">{{ list.avgScore }}</div>
    </div>
</template>

<script>
export default {
    props:['list'],
}
</script>

<style scoped>
.img{
    width: 40px;
    height: 40px;
    margin-right: 20px;
}
.avgscore{
    color: #3473e6;
    width: 94px;
    height: 80px;
    padding: 0 20px;
    font-weight: 700;
    line-height: 80px;
    font-size: 16px;
}
.totaldeal{
    color: #f1b221;
    width: 108px;
    height: 80px;
    padding: 0 20px;
    line-height: 80px;
    font-weight: 700;
    font-size: 16px
}
.typename{
    font-size: 14px;
    color: #606266;
    width: 173px;
    height: 80px;
    padding: 0 20px;
    line-height: 80px;
}
.orgname{
    width: 268px;
    height: 80px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.title{
    width: 255px;
    height: 80px;
    padding: 0 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 80px;
    overflow: hidden;
    white-space:nowrap;
    text-overflow: ellipsis;
}
.labelbox{
    display: flex;
    padding: 0 20px;
    margin-bottom: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    pointer-events: none;
}
.labelbox:hover{
    border: 1px solid #3473e6;
    background-color: #3473e6;
}
</style>